﻿using Microsoft.EntityFrameworkCore;
using Abp.Zero.EntityFrameworkCore;
using Ixyu.Authorization.Roles;
using Ixyu.Authorization.Users;
using Ixyu.Base.Configs;
using Ixyu.Base.Dictionaries;
using Ixyu.MultiTenancy;

namespace Ixyu.EntityFrameworkCore
{
    public abstract class BaseDbContext : AbpZeroDbContext<Tenant, Role, User, IxyuDbContext>
    {
        /* Define a DbSet for each entity of the application */

        protected BaseDbContext(DbContextOptions<IxyuDbContext> options)
            : base(options)
        {

        }
        public DbSet<AbpDictionary> AbpDictionarys { get; set; }
        public DbSet<AbpConfig> AbpConfigs { get; set; }
    }
}
